﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HiSport.Application.Service.Function.ReserveSiteManagement.Dtos
{
    public class SiteDto
    {
        /// <summary>
        /// 检查场地DTO
        /// </summary>
        public class SiteCheckDto
        {
            /// <summary>
            /// 预定时间  锁定时间
            /// </summary>
            public DateTime Time { get; set; }

            /// <summary>
            /// 开始时间
            /// </summary>
            [Required, MaxLength(20)]
            public string StartTime { get; set; }

            /// <summary>
            /// 结束时间
            /// </summary>
            [Required, MaxLength(20)]
            public string EndTime { get; set; }

            /// <summary>
            /// 场地Id
            /// </summary>
            public long SiteId { get; set; }
        }
    }
}
